package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 用户点赞
 */
@Getter
@Setter
public class Great extends BaseDomain{
    private Long userId;//用户id

    private Long travelId;//游记id

    private Long strategyId;//攻略id

    private Long strategyCommentId;//攻略点评id

    private boolean state;//状态,默认为false

    private Date greatTime;//点赞时间

    //点赞消息需要点赞用户的名字和游记的标题
    private String userName;
    private String travelTitle;
}